import {useSelector} from 'react-redux';
import {selectLangSetting} from 'reduxState/selectors';

export default function useLanguageUpdate() {
  const userLanguageSetting = useSelector(selectLangSetting);
  return userLanguageSetting;
}
